package com.corpgovernment.permission.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;

@Data
public class MbUserRoleInfo {
    @Id
    private Long id;
    /**
     * 角色
     */
    @Column(name = "role_id")
    private Long roleId;

    /**
     * 用户
     */
    @Column(name = "uid")
    private String accountName;
    /**
     * 用户编号
     */
    @Column(name = "employee_no")
    private String staffNumber;
    /**
     * 部门id
     */
    @Column(name = "org_id")
    private String orgId;

    /**
     * 手机号
     */
    @Column(name = "mobile_phone")
    private String phone;
    /**
     * 手机码
     */
    @Column(name = "area_code")
    private String areaCode;
    /**
     * 部门id
     */
    @Column(name = "org_name")
    private String departmentName;
    /**
     * 角色名称
     */
    private String roleName;
}
